package com.nchu.student_score.service;

import com.github.pagehelper.PageInfo;
import com.nchu.student_score.model.Course;
import com.nchu.student_score.model.CourseType;
import com.nchu.student_score.vo.ResultVo;

public interface CourseService {
    PageInfo<CourseType> getTypeList(Integer currPage);

    ResultVo<CourseType> updateType(CourseType courseType);

    ResultVo<CourseType> getCourseType();

    PageInfo<Course> getCourseList(Course course,Integer currPage);

    ResultVo<Course> updateCourse(Course input,Integer oldCourseId);

    ResultVo<Course> getAllCourse();
}
